package service;

import java.util.List;

import common.ServerResponse;

public interface IUserService {
	
	 public ServerResponse loginLogic(String username,String password);
	 public ServerResponse registerLogic(String username,String password,String email,String phone,String question,String answer);
	 public ServerResponse check_valid(String str,String box_type);
	 public ServerResponse get_user_info(String id);
	 
	 public ServerResponse forget(String username);
     
	 public ServerResponse submit(String answer,String username);

	 public ServerResponse forgetReset(String username, String newpw);

	 public ServerResponse reset(String id, String passwordOld, String newpw);
	 
	
	 public ServerResponse Update_information(Object id,String email,String phone,String question,String answer);
     public ServerResponse Get_information(Object id);
     public ServerResponse Logout();
     public ServerResponse is_login(String id);
     
     //用户列表
     public ServerResponse List(String pageSize,String pageNum);
     
}